﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Jzy.Model.ESecretary
{
    [DataContract]
    public partial class UserChatInfo
    {
        public const string TABLE_NAME = "UserChat";
        public const string INSERT_SQL = "insert into UserChat ( [ID], [SendID], [SendName], [ReceiveID], [Message], [InputTime]) values ( @ID, @SendID, @SendName, @ReceiveID, @Message, @InputTime)";
        public const string UPDATE_SQL = "update UserChat set  [ID] = @ID, [SendID] = @SendID, [SendName] = @SendName, [ReceiveID] = @ReceiveID, [Message] = @Message, [InputTime] = @InputTime where ID = @ID";
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public Guid ID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        /// 
        [DataMember]
        public Int32 SendID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        /// 
        [DataMember]
        public String SendName
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        /// 
        [DataMember]
        public Int32 ReceiveID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        /// 
        [DataMember]
        public String Message
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        /// 
        [DataMember]
        public DateTime InputTime
        {
            get;
            set;
        }
    }
}
